package com.ssy.lingxi.after.sale.api.fallback;

import com.ssy.lingxi.after.sale.api.feign.ReplaceGoodsControllerFeign;
import com.ssy.lingxi.after.sale.api.model.vo.request.*;
import com.ssy.lingxi.common.response.ResponseCode;
import com.ssy.lingxi.common.response.Wrapper;
import org.springframework.stereotype.Component;

import javax.validation.Valid;

@Component
public class ReplaceGoodsControllerFallback implements ReplaceGoodsControllerFeign {

    /**
     * 新增退货发货单
     * @author 伍将
     * @date 2020/9/17
     **/
    @Override
    public Wrapper<Long> addReturnDeliveryGoods(@Valid ReplaceAddDeliveryGoodsVO addVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 删除退货发货单
     * @author 伍将
     * @date 2020/9/29
     **/
    @Override
    public Wrapper deleteReturnDeliveryGoods(@Valid CommonIdVO commonIdVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 审核退货发货单
     * @author 伍将
     * @date 2020/12/22
     **/
    @Override
    public Wrapper verifyReturnDeliveryGoods(@Valid VerifyDeliveryVO verifyVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 新增退货入库单
     * @author 伍将
     * @date 2020/9/18
     **/
    @Override
    public Wrapper addReturnGoodsStorage(@Valid ReplaceAddStorageVO addVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 删除退货入库单
     * @author 伍将
     * @date 2020/12/22
     **/
    @Override
    public Wrapper deleteReturnGoodsStorage(CommonIdVO commonIdVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 审核退货入库单
     * @author 伍将
     * @date 2020/12/22
     **/
    @Override
    public Wrapper verifyReturnGoodsStorage(@Valid VerifyDeliveryVO verifyVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 新增换货发货单
     * @author 伍将
     * @date 2020/9/17
     **/
    @Override
    public Wrapper<Long> addReplaceDeliveryGoods(@Valid ReplaceAddDeliveryGoodsVO addVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 删除换货发货单
     * @author 伍将
     * @date 2020/9/29
     **/
    @Override
    public Wrapper deleteReplaceDeliveryGoods(@Valid CommonIdVO commonIdVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 审核换货发货单
     * @author 伍将
     * @date 2020/12/22
     **/
    @Override
    public Wrapper verifyReplaceDeliveryGoods(@Valid VerifyDeliveryVO verifyVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 新增换货入库单
     * @author 伍将
     * @date 2020/9/18
     **/
    @Override
    public Wrapper addReplaceGoodsStorage(@Valid ReplaceAddStorageVO addVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 删除换货入库单
     * @author 伍将
     * @date 2020/9/29
     **/
    @Override
    public Wrapper deleteReplaceGoodsStorage(@Valid CommonIdVO commonIdVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 审核换货入库单
     * @author 伍将
     * @date 2020/12/22
     **/
    @Override
    public Wrapper verifyReplaceGoodsStorage(@Valid VerifyDeliveryVO verifyVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 新增退货物流(换货-退货发货)
     * @author 伍将
     * @date 2020/9/18
     **/
    @Override
    public Wrapper addReturnLogistics(@Valid AddLogisticsVO addVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 审核退货物流单(换货-退货发货)
     * @author 伍将
     * @date 2020/9/18
     **/
    @Override
    public Wrapper verifyReturnLogistics(@Valid VerifyLogisticsVO verifyVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 新增换货物流(换货-换货发货)
     * @author 伍将
     * @date 2020/9/18
     **/
    @Override
    public Wrapper addReplaceLogistics(@Valid AddLogisticsVO addVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }

    /**
     * 审核换货物流单(换货-换货发货)
     * @author 伍将
     * @date 2020/9/18
     **/
    @Override
    public Wrapper verifyReplaceLogistics(@Valid VerifyLogisticsVO verifyVO) {
        return Wrapper.fail(ResponseCode.SERVICE_AFTER_SALE_ERROR);
    }
}
